#include "syscall.h"

int
main()
{
    int pid = Fork();
    if (pid == 0) {
        Write("123\n", 4, -1); // child then
    } else {
        Write("456\n", 4, -1); // parent first
        if (Fork() == 0) {
            Write("789\n", 4, -1);
        } else {
            Write("abc\n", 4, -1);
        }
    }
    Exit(0);
}
